﻿using System;
using System.Collections.Generic;

namespace Devv.FreshTracker.Entity
{
	[Serializable]
	public class ClientCollection : List<Client>
	{
		#region Helpers

		public Client Find(Int64 id)
		{
			foreach (Client c in this)
			{
				if (c.Id == id)
				{
					return c;
				}
			}

			return null;
		}

		#endregion
	}
}